﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo05101
{
    class Class1
    {
        private int iD;
        private string naMe;
        private int pass;

        public int ID
        {
            get { return this.iD; }
            set { this.iD = value; }
        }
        public string Name
        {
            get { return this.naMe; }
            set { this.naMe = value; }
        }
        public int Pass
        {
            get { return this.pass; }
            set { this.pass = value; }
        }

        public void user()
        {
            Console.WriteLine("账号：{0}", iD);
            Console.WriteLine("用户名：{0}", naMe);
            Console.WriteLine("密码：{0}", pass);
        }
    }
}
